package com.fanbuchi.fukua.adapter;

import android.content.Context;
import android.view.LayoutInflater;
import android.view.View;
import android.view.ViewGroup;
import android.widget.BaseAdapter;
import android.widget.ListAdapter;

import com.fanbuchi.fukua.R;
import com.fanbuchi.fukua.entity.MeFunction;

import java.util.List;

/**
 * Created by Administrator on 2015/7/16.
 */
public class MeCenterAdapter extends BaseAdapter {
    Context context;
    List<MeFunction> data;
    LayoutInflater inflater;
    public MeCenterAdapter(Context context,List<MeFunction> data){
        this.context=context;
        this.data=data;
        inflater=LayoutInflater.from(context);
    }
    @Override
    public int getCount() {
        return 10;
    }

    @Override
    public Object getItem(int i) {
        return null;
    }

    @Override
    public long getItemId(int i) {
        return 0;
    }

    @Override
    public View getView(int i, View view, ViewGroup viewGroup) {
       View rootView= inflater.inflate(R.layout.fragment_mecenter_item, viewGroup, false);
        return rootView;
    }
}
